/**
 * @file MxitProtocolMessageException.cs
 * @author Zane Mayo
 * @date 8/5/2009
 */

using System;

namespace MxitAPI {
	
	
	public class MxitProtocolMessageException : MxitException {
		
		//private static log4net.ILog log = log4net.LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType );
		
		public MxitProtocolMessageException() : base() {
			//log.Error( "MxitProtocolMessageException occured [No message]" );
		}
		
		public MxitProtocolMessageException( string message ) : base( message ) {
			//log.Error( "MxitProtocolMessageException occured: " + message );
		}
		
		public MxitProtocolMessageException( string message, ErrorCode errorCode ) : base( message + " | ErrorCode: " + errorCode.ToString() ) {
			
		}
		
		public MxitProtocolMessageException( string message, ErrorCode errorCode, string errorMessage ) 
		: base( message + " | ErrorCode: " + errorCode.ToString() + " | ErrorMessage: " + errorMessage ) {
			
		}
		
	}
}
